import request from '@/utils/request'

// 查询wlsggk列表
export function listReplenish(query) {
  return request({
    url: '/wlsggk/replenish/list',
    method: 'get',
    params: query
  })
}

// 查询wlsggk详细
export function getReplenish(replenishId) {
  return request({
    url: '/wlsggk/replenish/' + replenishId,
    method: 'get'
  })
}

// 新增wlsggk
export function addReplenish(data) {
  return request({
    url: '/wlsggk/replenish',
    method: 'post',
    data: data
  })
}

// 修改wlsggk
export function updateReplenish(data) {
  return request({
    url: '/wlsggk/replenish',
    method: 'put',
    data: data
  })
}

// 删除wlsggk
export function delReplenish(replenishId) {
  return request({
    url: '/wlsggk/replenish/' + replenishId,
    method: 'delete'
  })
}
